/*    */ package blockbuster.components.shape;
/*    */ 
/*    */ import blockbuster.emitter.BedrockEmitter;
/*    */ import blockbuster.emitter.BedrockParticle;
/*    */ 
/*    */ 
/*    */ public class BedrockComponentShapePoint
/*    */   extends BedrockComponentShapeBase
/*    */ {
/*    */   public void apply(BedrockEmitter emitter, BedrockParticle particle) {
/* 11 */     particle.position.x = (float)this.offset[0].get();
/* 12 */     particle.position.y = (float)this.offset[1].get();
/* 13 */     particle.position.z = (float)this.offset[2].get();
/*    */     
/* 15 */     if (this.direction instanceof ShapeDirection.Vector)
/*    */     {
/* 17 */       this.direction.applyDirection(particle, particle.position.x, particle.position.y, particle.position.z);
/*    */     }
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\blockbuster\components\shape\BedrockComponentShapePoint.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */